package org.colcon.web.model.title;

import java.util.HashMap;
import java.util.Map;

import org.colcon.web.model.Group;
import org.colcon.web.model.Title;

public class MemberTitle extends Title 
{
	private static final long serialVersionUID = 5308578384669137259L;
	
	public MemberTitle()
	{
		this(new HashMap<String, String>());
	}
	
	public MemberTitle(Map<String, String> args)
	{
		this(args.get(PARENT));
	}
	
	public MemberTitle(String parent)
	{
		super(
				parent, 
				Group.MEMBER, 
				"a user who is part of the group " + Group.pathToGroup(parent), 
				"-1",
				null
		);
	}
}
